package sg.edu.nus.iss.billing.entity;

import java.math.BigDecimal;
import java.util.Date;

import sg.edu.nus.iss.billing.entity.service.Service;

public abstract class Subscription extends BaseEntity {
	
	private String subscriptionName;
	private Date subscriptionDate;
	private Date terminationDate;
	protected Service service;
	private RecordState active;
	
	
	public String getSubscriptionName() {
		return subscriptionName;
	}
	
	public void setSubscriptionName(String subscriptionName) {
		this.subscriptionName = subscriptionName;
	}
	
	public Date getSubscriptionDate() {
		return subscriptionDate;
	}
	
	public void setSubscriptionDate(Date subscriptionDate) {
		this.subscriptionDate = subscriptionDate;
	}
	
	public Date getTerminationDate() {
		return terminationDate;
	}
	
	public void setTerminationDate(Date terminationDate) {
		this.terminationDate = terminationDate;
	}
	
	public RecordState getActive() {
		return active;
	}
	
	public void setActive(RecordState active) {
		this.active = active;
	}
	
	public void setService(Service service) {
		this.service = service;
	}

	public abstract Service getService();
	//public abstract BigDecimal getSubscriptionFee();
	
}
